﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Package.aspx.cs" Inherits="GreatB2C.Web.Manage.SystemSet.Shop.Package" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>包装添加/修改</title>
    <link href="../../../App_Themes/AdminDefaultTheme/Guide.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/index.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/xtree.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/MasterPage.css" type="text/css"
        rel="stylesheet" />

    <script type="text/javascript" src="../../../Resource/Script/pagebase.js"></script>

    <link rel="stylesheet" type="text/css" href="../../../Resource/jqueryEasyui/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="../../../Resource/jqueryEasyui/themes/icon.css" />

    <script type="text/javascript" src="../../../Resource/jqueryEasyui/jquery-1.4.4.min.js"></script>

    <script type="text/javascript" src="../../../Resource/jqueryEasyui/jquery.easyui.min.js"></script>

    <script src="../../../Resource/Script/jquery.validate.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        window.onload = function() {

            // validate signup form on keyup and submit
            $("#form1").validate({
                rules: {
                    txtPackageName: {
                        required: true
                    },
                    txtPackageWeight: {
                        required: true
                        , number: true
                    },
                    txtGoodsWeightMin: {
                        required: true
                        , number: true
                    },
                    txtGoodsWeightMax: {
                        required: true
                        , number: true
                    }
                },
                messages: {
                    txtPackageName: {
                        required: "<font class='validatemsg'>* 请输入厂商名称</font>"
                    },
                    txtPackageWeight: {
                        required: "<font class='validatemsg'>* 请输入包装重量(kg)</font>"
                        , number: "<font class='validatemsg'>* 输入的格式不正确，请输入数字</font>"
                    },
                    txtGoodsWeightMin: {
                        required: "<font class='validatemsg'>* 请输入货物重量上限</font>"
                        , number: "<font class='validatemsg'>* 输入的格式不正确，请输入数字</font>"
                    },
                    txtGoodsWeightMax: {
                        required: "<font class='validatemsg'>* 请输入货物重量下限</font>"
                        , number: "<font class='validatemsg'>* 输入的格式不正确，请输入数字</font>"
                    }
                }
            });
        }

    </script>

</head>
<body>
    <form id="form1" runat="server">
    <input id="hidImagSrc" type="hidden" value="" runat="server" />
    <span style="display: inline-block; height: 20px;">
        <span>
            <img src="../../../App_Themes/AdminDefaultTheme/Images/localGIF.gif" align="absmiddle"
                style="border-width: 0px;" />后台管理 </span><span>&gt;&gt; </span><span><a>系统设置</a></span><span>
                    &gt;&gt; </span><span><a>商店配置</a></span><span> &gt;&gt; </span><span><a title="包装管理"
                        href="/Manage/SystemSet/Shop/PackageManage.aspx">包装管理</a></span><span> &gt;&gt;
        </span><span><a>
            <asp:Label ID="lblTitle" runat="server" Text="添加包装"></asp:Label></a></span></span>
    <table width="100%" border="0" cellpadding="2" cellspacing="1" class="border">
        <tr align="center">
            <td colspan="2" class="spacingtitle">
                <b><asp:Label ID="lblTitle1" runat="server" Text="添加包装"></asp:Label></b>
            </td>
        </tr>
        <tr class="tdbg">
            <td style="width: 15%; white-space: nowrap;" class="tdbgleft" align="right">
                包装名称：
            </td>
            <td>
                <asp:TextBox ID="txtPackageName" runat="server" MaxLength="100" CssClass="inputtext"
                    Width="400px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft" align="right">
                包装重量(kg)：
            </td>
            <td>
                <asp:TextBox ID="txtPackageWeight" runat="server" MaxLength="50" CssClass="inputtext"
                    Width="100px" onfocus="this.style.backgroundColor='#d2e0f0';" onblur="this.style.backgroundColor='';" Text="0"></asp:TextBox>
            </td>
        </tr>
        <tr class="tdbg">
            <td class="tdbgleft" align="right">
                包装使用条件：
            </td>
            <td>
                当 <asp:TextBox ID="txtGoodsWeightMin" runat="server" MaxLength="50" Width="100px" CssClass="inputtext" onfocus="this.style.backgroundColor='#d2e0f0';"
                    onblur="this.style.backgroundColor='';" Text="0"></asp:TextBox> <b style="color:blue;">≤</b> 内含物的重量 <b style="color:blue;">&gt;</b> <asp:TextBox ID="txtGoodsWeightMax" runat="server" CssClass="inputtext"
                    MaxLength="50" Width="100px" onfocus="this.style.backgroundColor='#d2e0f0';"
                    onblur="this.style.backgroundColor='';" Text="0"></asp:TextBox> 时使用此包装
            </td>
        </tr>
        <tr class="tdbgbottom">
            <td colspan="2">
                <asp:Button ID="BtnSubmit" runat="server" Text="添 加[S]" class="btnstyle_blue" Style="width: 70px;"
                    AccessKey="S" onmouseover="this.className='btnstyle_blue_over'" onmouseout="this.className='btnstyle_blue'"
                    OnClick="BtnSubmit_Click" />&nbsp;&nbsp;
                <input type="reset" name="ClearSiteInfo" value="重 填[R]" class="btnstyle_blue" id="btnSiteInfoReset"
                    accesskey="R" style="width: 70px;" runat="server" onmouseover="this.className='btnstyle_blue_over'"
                    onmouseout="this.className='btnstyle_blue'" />
            </td>
        </tr>
    </table>
    </form>
    <asp:Literal ID="litScript" runat="server"></asp:Literal>
</body>
</html>
